package com.tencent.sr.iris.activity.service.config;

import com.tencent.sr.tech.dynamic.config.spring.annotation.DynamicConfigObject;
import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * 活动七彩石配置
 *
 * @author xiaojun
 */
@Data
@Component
@DynamicConfigObject(key = "localCacheSwitchConfig")
public class LocalCacheSwitchConfig {

    /**
     * 用户见习会员本地缓存
     */
    private boolean userTraineeTimeON = true;

    /**
     * 特邀会员校验结果本地缓存
     */
    private boolean userSpecialInviteON = true;

    /**
     * 查询用户等级本地缓存
     */
    private boolean queryUserLevelON = true;

    /**
     * 查询用户宽表本地缓存
     */
    private boolean batchQueryUserListON = true;

    /**
     * 查询用户当前等级和升到当前等级的时间本地缓存
     */
    private boolean queryUserMemberTimeON = true;

    /**
     * 查询导师信息本地缓存
     */
    private boolean queryUserTutorRelationON = true;

    /**
     * 查询升级场景值本地缓存
     */
    private boolean queryUserTagsON = true;

    /**
     * 查询老团推团本地缓存
     */
    private boolean querySpecialOldTttON = true;


}
